.class Lcom/instagram/android/o/h;
.super Ljava/lang/Object;
.source "QuickExperimentManager.java"

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field final synthetic a:Lcom/instagram/android/o/a/a;

.field final synthetic b:Lcom/instagram/android/o/f;


# direct methods
.method constructor <init>(Lcom/instagram/android/o/f;Lcom/instagram/android/o/a/a;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 174
    iput-object p1, p0, Lcom/instagram/android/o/h;->b:Lcom/instagram/android/o/f;

    iput-object p2, p0, Lcom/instagram/android/o/h;->a:Lcom/instagram/android/o/a/a;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 6

    .prologue
    .line 177
    invoke-static {}, Lcom/instagram/e/a/a;->a()Landroid/content/Context;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/android/o/h;->a:Lcom/instagram/android/o/a/a;

    invoke-static {v0, v1}, Lcom/instagram/android/d/k/v;->a(Landroid/content/Context;Lcom/instagram/android/d/k/d;)Lcom/instagram/android/d/k/h;

    move-result-object v0

    .line 179
    invoke-virtual {v0}, Lcom/instagram/android/d/k/h;->b()Z

    move-result v1

    if-nez v1, :cond_0

    .line 180
    invoke-static {}, Lcom/instagram/b/a;->a()Lcom/instagram/b/c;

    move-result-object v1

    new-instance v2, Lcom/instagram/b/b;

    const-string v3, "qe_failure"

    const/4 v4, 0x0

    invoke-direct {v2, v3, v4}, Lcom/instagram/b/b;-><init>(Ljava/lang/String;Lcom/instagram/b/d;)V

    const-string v3, "device_id"

    iget-object v4, p0, Lcom/instagram/android/o/h;->b:Lcom/instagram/android/o/f;

    invoke-static {v4}, Lcom/instagram/android/o/f;->c(Lcom/instagram/android/o/f;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v2, v3, v4}, Lcom/instagram/b/b;->a(Ljava/lang/String;Ljava/lang/String;)Lcom/instagram/b/b;

    move-result-object v2

    const-string v3, "experiments"

    const-string v4, ","

    iget-object v5, p0, Lcom/instagram/android/o/h;->b:Lcom/instagram/android/o/f;

    invoke-static {v5}, Lcom/instagram/android/o/f;->b(Lcom/instagram/android/o/f;)Ljava/util/Set;

    move-result-object v5

    invoke-static {v4, v5}, Landroid/text/TextUtils;->join(Ljava/lang/CharSequence;Ljava/lang/Iterable;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v2, v3, v4}, Lcom/instagram/b/b;->a(Ljava/lang/String;Ljava/lang/String;)Lcom/instagram/b/b;

    move-result-object v2

    invoke-interface {v1, v2}, Lcom/instagram/b/c;->a(Lcom/instagram/b/b;)V

    .line 184
    const-class v1, Lcom/instagram/android/o/f;

    const-string v2, "Quick experiment expose request failed! message: %s"

    const/4 v3, 0x1

    new-array v3, v3, [Ljava/lang/Object;

    const/4 v4, 0x0

    invoke-virtual {v0}, Lcom/instagram/android/d/k/h;->c()Ljava/lang/String;

    move-result-object v0

    aput-object v0, v3, v4

    invoke-static {v1, v2, v3}, Lcom/facebook/e/a/a;->b(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Object;)V

    .line 188
    :cond_0
    return-void
.end method
